﻿
namespace DMC.Core.Models
{
    /// <summary>
    /// 导入字段
    /// </summary>
    public class ExcelImportSheetField
    {
        /// <summary>
        /// 字段名
        /// </summary>
        public string FieldName
        {
            get;
            set;
        }
        /// <summary>
        /// 字段显示名
        /// </summary>
        public string DisplayName
        {
            get;
            set;
        }
        /// <summary>
        /// 字段类型
        /// </summary>
        public string TypeName
        {
            get;
            set;
        } = "System.String";
        /// <summary>
        /// 字段顺序
        /// </summary>
        public int Ordinal
        {
            get;
            set;
        }

        /// <summary>
        /// 缺失字段（单元格）处理规则
        /// </summary>
        public string MissingCellPolicy
        {
            get;
            set;
        }
    }

}
